<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-html"  prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean"  prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html:html>
<title>Login</title>
<body >
    <br><br>
    <div align = "center">  
         <logic:messagesPresent message="true">   
            <html:messages id="message" message="true">   
                <bean:write name="message"/>   
            </html:messages>   
        </logic:messagesPresent> 
        
     
        <html:form action="/login" focus="systemUser.login" method="post" target="_top" >
        <table border="0" width="100%" align="center">
            <tr>
                <td width="50%" align = "right"><H4>Usuário:&nbsp;&nbsp;</H4></td>
                <td width="50%"  align = "left"><H4><html:text property = "systemUser.login" size="15" /></H4></td>
            </tr>
            <tr>
                <td width="50%" align = "right"><H4>Senha:&nbsp;&nbsp;</H4></td>
                <td width="50%" align = "left"><H4><html:password property = "systemUser.password" size="20"/></H4></td>
            </tr>
            
        </table>
        
        <br><br><br>
        <table border="0" width="100%" align="center">
        <tr align="center">
            <td><html:submit>Enviar Dados</html:submit> &nbsp;&nbsp;
            <html:reset> Limpar </html:reset></td>
        </tr>
        <br>        
        </html:form>
        
    </div>
</body>
</html:html>
